// currently used as a base for special scripts


beginobjectscript; // talking object

variables;
	short last_abil;
short effect_type;
short duration;

body;

beginstate INIT_STATE;
	set_obj_act_at_dist(ME,1);
	last_abil = get_current_tick();
	break;

beginstate DEAD_STATE;
	break;

beginstate START_STATE; 
	if (tick_difference(last_abil,get_current_tick()) > 0) {
		last_abil = get_current_tick();
		
		//if (difficulty() < 2) 
		//	effect_type = 1;
		//	else 
				effect_type = 4;

//print_num(1000 + gf(2,26));
		
		duration = 2;
		if (is_town())
			duration = 3;
		if (gf(56,20) == 0)
			radiate_ground_effect(my_loc_x(),my_loc_y(),effect_type,2,1);

			
		}
	break;

beginstate USE_STATE;
	begin_talk_mode(21);
break;
